package com.ruoyi.project.wx.service.impl;

import com.ruoyi.project.wx.dao.MemberCodeDao;
import com.ruoyi.project.wx.domain.MemberCodeDO;
import com.ruoyi.project.wx.service.MemberCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MemberCodeServiceImpl implements MemberCodeService {
	@Autowired
	private MemberCodeDao memberCodeDao;
	
	@Override
	public MemberCodeDO get(String id){
		return memberCodeDao.get(id);
	}
	
	@Override
	public List<MemberCodeDO> list(Map<String, Object> map){
		return memberCodeDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return memberCodeDao.count(map);
	}
	
	@Override
	public int save(MemberCodeDO memberCode){
		return memberCodeDao.save(memberCode);
	}
	
	@Override
	public int update(MemberCodeDO memberCode){
		return memberCodeDao.update(memberCode);
	}
	
	@Override
	public int remove(String id){
		return memberCodeDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return memberCodeDao.batchRemove(ids);
	}



}
